package star.cloud.asme.flowable.processDefinition;

import org.springframework.web.multipart.MultipartFile;
import star.cloud.asme.base.dto.Result;
import star.cloud.asme.base.fowable.VO.ProcessDefinitionQueryCondition;
import star.cloud.asme.base.fowable.VO.ProcessDefinitionVO;
import star.cloud.asme.base.fowable.baseInterface.FlowableBaseService;


public interface HqProcessDefinitionService extends FlowableBaseService<ProcessDefinitionQueryCondition, ProcessDefinitionVO> {

    Result<ProcessDefinitionVO> deploy(MultipartFile file, ProcessDefinitionVO processDefinitionVO);

    Result<ProcessDefinitionVO> updateDeployment(ProcessDefinitionVO processDefinitionVO);

    Result<?> suspendProcessDefinition(String type, String value);

    Result<?> activateProcessDefinition(String type, String value);

    Result<?> physicalDelete(String processDefinitionId);
}
